{"ast":null,"code":"import _defineProperty from \"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nvar genSorterStyle = function genSorterStyle(token) {\n  var _$concat2;\n  var componentCls = token.componentCls,\n    marginXXS = token.marginXXS,\n    fontSizeIcon = token.fontSizeIcon,\n    tableHeaderIconColor = token.tableHeaderIconColor,\n    tableHeaderIconColorHover = token.tableHeaderIconColorHover;\n  return _defineProperty({}, \"\".concat(componentCls, \"-wrapper\"), (_$concat2 = {}, _defineProperty(_$concat2, \"\".concat(componentCls, \"-thead th\").concat(componentCls, \"-column-has-sorters\"), _defineProperty({\n    outline: 'none',\n    cursor: 'pointer',\n    transition: \"all \".concat(token.motionDurationSlow),\n    '&:hover': {\n      background: token.tableHeaderSortHoverBg,\n      '&::before': {\n        backgroundColor: 'transparent !important'\n      }\n    },\n    '&:focus-visible': {\n      color: token.colorPrimary\n    }\n  }, \"\\n          &\".concat(componentCls, \"-cell-fix-left:hover,\\n          &\").concat(componentCls, \"-cell-fix-right:hover\\n        \"), {\n    background: token.tableFixedHeaderSortActiveBg\n  })), _defineProperty(_$concat2, \"\".concat(componentCls, \"-thead th\").concat(componentCls, \"-column-sort\"), {\n    background: token.tableHeaderSortBg,\n    '&::before': {\n      backgroundColor: 'transparent !important'\n    }\n  }), _defineProperty(_$concat2, \"td\".concat(componentCls, \"-column-sort\"), {\n    background: token.tableBodySortBg\n  }), _defineProperty(_$concat2, \"\".concat(componentCls, \"-column-title\"), {\n    position: 'relative',\n    zIndex: 1,\n    flex: 1\n  }), _defineProperty(_$concat2, \"\".concat(componentCls, \"-column-sorters\"), {\n    display: 'flex',\n    flex: 'auto',\n    alignItems: 'center',\n    justifyContent: 'space-between',\n    '&::after': {\n      position: 'absolute',\n      inset: 0,\n      width: '100%',\n      height: '100%',\n      content: '\"\"'\n    }\n  }), _defineProperty(_$concat2, \"\".concat(componentCls, \"-column-sorter\"), _defineProperty({\n    marginInlineStart: marginXXS,\n    color: tableHeaderIconColor,\n    fontSize: 0,\n    transition: \"color \".concat(token.motionDurationSlow),\n    '&-inner': {\n      display: 'inline-flex',\n      flexDirection: 'column',\n      alignItems: 'center'\n    },\n    '&-up, &-down': {\n      fontSize: fontSizeIcon,\n      '&.active': {\n        color: token.colorPrimary\n      }\n    }\n  }, \"\".concat(componentCls, \"-column-sorter-up + \").concat(componentCls, \"-column-sorter-down\"), {\n    marginTop: '-0.3em'\n  })), _defineProperty(_$concat2, \"\".concat(componentCls, \"-column-sorters:hover \").concat(componentCls, \"-column-sorter\"), {\n    color: tableHeaderIconColorHover\n  }), _$concat2));\n};\nexport default genSorterStyle;","map":{"version":3,"names":["genSorterStyle","token","componentCls","marginXXS","fontSizeIcon","tableHeaderIconColor","tableHeaderIconColorHover","outline","cursor","transition","motionDurationSlow","background","tableHeaderSortHoverBg","backgroundColor","color","colorPrimary","tableFixedHeaderSortActiveBg","tableHeaderSortBg","tableBodySortBg","position","zIndex","flex","display","alignItems","justifyContent","inset","width","height","content","marginInlineStart","fontSize","flexDirection","marginTop"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/antd/es/table/style/sorter.js"],"sourcesContent":["const genSorterStyle = token => {\n  const {\n    componentCls,\n    marginXXS,\n    fontSizeIcon,\n    tableHeaderIconColor,\n    tableHeaderIconColorHover\n  } = token;\n  return {\n    [`${componentCls}-wrapper`]: {\n      [`${componentCls}-thead th${componentCls}-column-has-sorters`]: {\n        outline: 'none',\n        cursor: 'pointer',\n        transition: `all ${token.motionDurationSlow}`,\n        '&:hover': {\n          background: token.tableHeaderSortHoverBg,\n          '&::before': {\n            backgroundColor: 'transparent !important'\n          }\n        },\n        '&:focus-visible': {\n          color: token.colorPrimary\n        },\n        // https://github.com/ant-design/ant-design/issues/30969\n        [`\n          &${componentCls}-cell-fix-left:hover,\n          &${componentCls}-cell-fix-right:hover\n        `]: {\n          background: token.tableFixedHeaderSortActiveBg\n        }\n      },\n      [`${componentCls}-thead th${componentCls}-column-sort`]: {\n        background: token.tableHeaderSortBg,\n        '&::before': {\n          backgroundColor: 'transparent !important'\n        }\n      },\n      [`td${componentCls}-column-sort`]: {\n        background: token.tableBodySortBg\n      },\n      [`${componentCls}-column-title`]: {\n        position: 'relative',\n        zIndex: 1,\n        flex: 1\n      },\n      [`${componentCls}-column-sorters`]: {\n        display: 'flex',\n        flex: 'auto',\n        alignItems: 'center',\n        justifyContent: 'space-between',\n        '&::after': {\n          position: 'absolute',\n          inset: 0,\n          width: '100%',\n          height: '100%',\n          content: '\"\"'\n        }\n      },\n      [`${componentCls}-column-sorter`]: {\n        marginInlineStart: marginXXS,\n        color: tableHeaderIconColor,\n        fontSize: 0,\n        transition: `color ${token.motionDurationSlow}`,\n        '&-inner': {\n          display: 'inline-flex',\n          flexDirection: 'column',\n          alignItems: 'center'\n        },\n        '&-up, &-down': {\n          fontSize: fontSizeIcon,\n          '&.active': {\n            color: token.colorPrimary\n          }\n        },\n        [`${componentCls}-column-sorter-up + ${componentCls}-column-sorter-down`]: {\n          marginTop: '-0.3em'\n        }\n      },\n      [`${componentCls}-column-sorters:hover ${componentCls}-column-sorter`]: {\n        color: tableHeaderIconColorHover\n      }\n    }\n  };\n};\nexport default genSorterStyle;"],"mappings":";AAAA,IAAMA,cAAc,GAAG,SAAjBA,cAAc,CAAGC,KAAK,EAAI;EAAA;EAC9B,IACEC,YAAY,GAKVD,KAAK,CALPC,YAAY;IACZC,SAAS,GAIPF,KAAK,CAJPE,SAAS;IACTC,YAAY,GAGVH,KAAK,CAHPG,YAAY;IACZC,oBAAoB,GAElBJ,KAAK,CAFPI,oBAAoB;IACpBC,yBAAyB,GACvBL,KAAK,CADPK,yBAAyB;EAE3B,qCACMJ,YAAY,qEACVA,YAAY,sBAAYA,YAAY;IACtCK,OAAO,EAAE,MAAM;IACfC,MAAM,EAAE,SAAS;IACjBC,UAAU,gBAASR,KAAK,CAACS,kBAAkB,CAAE;IAC7C,SAAS,EAAE;MACTC,UAAU,EAAEV,KAAK,CAAC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